<?php

namespace App\Http\Controllers\Platform;

use App\Models\System\Admin;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

/**
 * 平台端用户信息
 *
 * Date: 2018/5/28
 * @author George
 * @package App\Http\Controllers\Platform
 */
class AdminController extends Controller
{
	/**
	 * 获取平台端用户信息
	 *
	 * Date: 2018/5/28
	 * @author George
	 * @param Request $request
	 * @return \Illuminate\Http\JsonResponse
	 */
	public function index(Request $request)
	{
		$admins = Admin::query()->where('status', 1)->get();
		return success($admins);
	}
}
